package cc.verywell.pureblock.msg.nfs.linkmap;
/**
* 
* Copyright © 2019 TanYaqiu. All rights reserved.
* @author TanYaqiu 
* @address flat 601
* @date 2019年6月16日 下午3:17:44
*/
public interface EasyIterator extends Comparable<EasyIterator> {
	public boolean hasNext();
	public LinkCell next();
	public LinkCell current();
	@Override
	default int compareTo(EasyIterator t) {
        if (this == t)return 0;
        if( t==null)return -1;
        LinkCell m = current(),u = t.current();
        if (m == u)return 0;
        if( u==null)return -1;
        return m.compareTo(u);
	}
}
